package com.icim.csot.exporter.xmlentity;

import java.util.List;

import org.springframework.stereotype.Component;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@Component
@XStreamAlias("BOX")
public class CsotShippingBoxXmlEntity {
    private String SHIPPINGBOXNAME;
    private String BOXID;
    private Integer BLOCKQUANTITY;
    private Integer BOXCAPACITY;
    private String GRADE;
    private List<CsotShippingBlockXmlEntity> BLOCKLIST;

    public void addBLOCK(CsotShippingBlockXmlEntity block) {
        this.BLOCKLIST.add(block);
    }

    public String getSHIPPINGBOXNAME() {
        return SHIPPINGBOXNAME;
    }

    public void setSHIPPINGBOXNAME(String sHIPPINGBOXNAME) {
        SHIPPINGBOXNAME = sHIPPINGBOXNAME;
    }


    public String getBOXID() {
		return BOXID;
	}

	public void setBOXID(String bOXID) {
		BOXID = bOXID;
	}

	public Integer getBLOCKQUANTITY() {
        return BLOCKQUANTITY;
    }

    public void setBLOCKQUANTITY(Integer bLOCKQUANTITY) {
        BLOCKQUANTITY = bLOCKQUANTITY;
    }

    public Integer getBOXCAPACITY() {
        return BOXCAPACITY;
    }

    public void setBOXCAPACITY(Integer bOXCAPACITY) {
        BOXCAPACITY = bOXCAPACITY;
    }

    public String getGRADE() {
        return GRADE;
    }

    public void setGRADE(String gRADE) {
        GRADE = gRADE;
    }

    public List<CsotShippingBlockXmlEntity> getBLOCKLIST() {
        return BLOCKLIST;
    }

    public void setBLOCKLIST(List<CsotShippingBlockXmlEntity> bLOCKLIST) {
        BLOCKLIST = bLOCKLIST;
    }

    public void init() {
        this.SHIPPINGBOXNAME = "";
        this.BOXID = "";
        this.BLOCKQUANTITY = 0;
        this.BOXCAPACITY = 0;
        this.GRADE = "";
    }
}
